package me.idashu.attg.persistence;

import java.util.List;
import java.util.Map;

import me.idashu.attg.domain.CommentEntity;

public interface CommentMapper {
	public List<CommentEntity> viewComment(Map<String, Object> map);
	
	public int commentCount(int noteId);
	
	public void insertComment(CommentEntity commentEntity);
	
	public List<CommentEntity> findCommentByNoteId(int noteId);
	
	public void deleteComment(int id);

}
